package org.ch00.test05;

/*
 *
 *@author XCH
 *@date 2025 - 03 - 05 - 08:57
 *
 */
public class MuMen extends Door{
    private String name;

    public MuMen(String name) {
        this.name = name;
    }

    public MuMen() {
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void open() {
        System.out.println("木门打开");
    }

    public void close() {
        System.out.println("木门关闭");
    }
}
